home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 November: Tool Chest / Dev.CD Nov 00 TC Disk 1.toast / Sample Code / Networking / VMSify / Read Me next >
Encoding:
Text File  |  2000-09-28  |  2.6 KB  |  58 lines  |  [TEXT/ttxt]

  1. Read Me About VMSify
  2.  
  3. 1.0.1b1
  4.  
  5. VMSify is a sample STREAMS module that actually does something useful (well, noticable).  VMSify is largely derived from the StreamNOP source, but it is extended to demonstrate simple address detection and data munging.
  6.  
  7. VMSify's functionality is relatively silly.  It detects whether the stream is a telnet session (looking for outgoing connections on port 23) and, if it is, upper cases all the data returned from the server.  The upshot is that if you install the software and log into a UNIX machine using a Mac OS telnet application, all the returned text is in upper case, just like it would be if you were logging into a VMS machine.
  8.  
  9. Packing List
  10.  
  11. The VMSify package contains the following items:
  12.  
  13. • Read Me — This document.
  14.  
  15. • VMSify.mcp — A project with debug and non-debug targets.
  16. • VMSifyDebug.prefix — A prefix file used when building the debug version.
  17. • VMSify.c — C source code to the module.
  18.  
  19. • VMSify — A compiled version of the non-debug target.
  20. • VMSify Debug — A compiled version of the debug target.
  21.  
  22. Installation and Execution
  23.  
  24. To test the sample, do the following:
  25.  
  26. 1. Drag the “VMSify” module into your Extensions folder.
  27.  
  28. 2. Install a copy of the “OT AutoPush Support” into your Extensions folder.  You may already have it installed (various product install it for you); if not, get it from the Open Transport 2.0.1 (or higher) SDK.  You can get that by following the links from the OT web site.
  29.  
  30.   <http://developer.apple.com/macos/opentransport/>
  31.  
  32. 3. Open “OT AutoPush Support” with your preferred resource editing tool and add the string “VMSify” to the 'STR#' ID=128 resource.
  33.  
  34. 4. Restart your computer.
  35.  
  36. 5. Launch your favourite Mac OS telnet application (it works equally well for OT-native telnet applications and telnet applications which use the MacTCP API) and log into your favourite UNIX machine.  Notice how everything appears in upper case.  VMS is the future!
  37.  
  38. Building the Sample
  39.  
  40. This sample was built using the Metrowerks CodeWarrior Pro 2 environment with Universal Interfaces 3.3.1 interfaces and libraries.
  41.  
  42. To rebuild the sample, open the project file, select the VMSify (or VMSify Debug) target and choose Make from the Project menu.
  43.  
  44. Credits and Version History
  45.  
  46. If you find any problems with this sample, mail <DTS@apple.com> and I’ll try to fix them up.
  47.  
  48. Version 1.0b1 (Apr 1999) is the first release.
  49.  
  50. Version 1.0.1b1 (May 2000) is a minor update to fix a bug where I mixed up the semantics of dupb and copyb [2467966].  I also update the sample to build with the OT headers from Universal Interfaces 3.3.1.
  51.  
  52. Share and Enjoy
  53.  
  54. Apple Developer Technical Support
  55. Networking, Communications, Hardware
  56.  
  57. 29 May 2000
  58.